<script>
export default {
    data() {
      return {
        form: {
          name: '',
          region: '',
          date1: '',
          date2: '',
          delivery: false,
          skills: [],
          resource: '',
          desc: ''
        }
      }
    },
    methods: {
      onSubmit() {
        alert('submit!');
      }
    }
  }
</script>

<template>
  <el-form ref="form" :model="form" label-width="80px">

    <el-form-item label="选择城市">
      <el-select v-model="form.city" placeholder="选择城市">
        <el-option label="太原" value="1"></el-option>
        <el-option label="北京" value="2"></el-option>
        <el-option label="上海" value="3"></el-option>
        <el-option label="成都" value="4"></el-option>
        <el-option label="重庆" value="5"></el-option>
        <el-option label="天津" value="6"></el-option>
        <el-option label="西安" value="7"></el-option>
      </el-select>
    </el-form-item>

    <el-form-item label="选择月份">
      <el-select v-model="form.workage" placeholder="选择月份">
        <el-option label="1月" value="1"></el-option>
        <el-option label="2月" value="2"></el-option>
        <el-option label="3月" value="3"></el-option>
        <el-option label="4月" value="4"></el-option>
        <el-option label="5月" value="5"></el-option>
        <el-option label="6月" value="6"></el-option>
        <el-option label="7月" value="7"></el-option>
        <el-option label="8月" value="8"></el-option>
        <el-option label="9月" value="9"></el-option>
        <el-option label="10月" value="10"></el-option>
        <el-option label="11月" value="11"></el-option>
        <el-option label="12月" value="12"></el-option>
      </el-select>
    </el-form-item>

     <el-form-item label="选择学历">
      <el-select v-model="form.education" placeholder="选择学历">
        <el-option label="专科" value="1"></el-option>
        <el-option label="本科" value="2"></el-option>
        <el-option label="硕士" value="3"></el-option>
        <el-option label="博士" value="4"></el-option>
        <el-option label="不限" value="0"></el-option>
      </el-select>
    </el-form-item>
  <el-form-item label="选择技能">
    <el-radio-group v-model="form.resource">
      <el-radio label="python"></el-radio>
      <el-radio label="数据分析"></el-radio>
      <el-radio label="数据存储"></el-radio>
      <el-radio label="ai编程"></el-radio>
    </el-radio-group>
  </el-form-item>

  <el-form-item>
    <el-button type="primary" @click="onSubmit">立即预测</el-button>
    <el-button>重置</el-button>
  </el-form-item>
</el-form>
</template>


<style scoped>

</style>